//==============================================================================
// market_anim.txt
//==============================================================================

import Construction_defines_anim.txt
import building_damage_defines_anim.txt

define sfxatimeshiftmediumin
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift medium in
		}
	}
}

//down sparkles
define sfxatimeshiftspellin
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift spell in
		}
	}
}

define sfxatimeshiftswirl
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift swirl tied
		}
	}
}

//==============================================================================
define Dust
{
   set hotspot
   {
		version
		{
			Visualparticle SFX A Building DustA
		}
   }  
}

//==============================================================================
define empower
{
   SetSelector
   {
		EmpowerLogic
		SetSelector
		{
			set hotspot
			{
			   version
			   {
					Visualnone Jimmy
			   }
			}
		}
		SetSelector
		{
			set hotspot
			{
			   version
			   {
					Visualparticle SFX E Pharaoh Empower Large
			   }
			}
		}
   }
}

//==============================================================================
define VINEA
{
   set hotspot
   {
		version
		{
			visual Building VineA
		}
   }  
}

//==============================================================================
define VINEB
{
   set hotspot
   {
		version
		{
			visual Building VineB
		}
   }  
}

//==============================================================================
define CypressA
{
   set hotspot
   {
		version
		{
			visual Terrain G CypressA
		}
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
		version
		{
			visual Terrain G CypressB
		}
   }  
}

//==============================================================================
define CypressOne
{
   set hotspot
   {
		version
		{
			visual Terrain G CypressA
		}
   }  
}

//==============================================================================
anim idle
{
   SetSelector
   {
		CultureLogic Egyptian/Greek/Norse/Atlantean/Chinese
		SetSelector
		{
			TechLogic age 3/age 4
			SetSelector
			{			
			   DamageLogic 0 1 50
			   set hotspot
			   {
					version
					{
						visual Building E Market age3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect ATTACHPOINT empower hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building G ConstructionMarket
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect ATTACHPOINT empower hotspot
						connect attachpoint E_Long_Brick hotspot
						connect face E_Long_Brick hotspot
						connect chin E_Medium_Brick hotspot
						connect leftfoot E_Medium_Brick hotspot
						connect lefthand E_Small_Brick hotspot
						connect leftleg E_Small_Brick hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect ATTACHPOINT empower hotspot
						connect attachpoint E_Long_Brick hotspot
						connect face E_Long_Brick hotspot
						connect chin E_Medium_Brick hotspot
						connect leftfoot E_Medium_Brick hotspot
						connect lefthand E_Small_Brick hotspot
						connect leftleg E_Small_Brick hotspot
					}
			   }
			   
			}
			SetSelector
			{
			   DamageLogic 0 1 50
			   set hotspot
			   {
					version
					{ 
						visual Building E Market Age4
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect ATTACHPOINT empower hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building G ConstructionMarket
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect ATTACHPOINT empower hotspot
						connect attachpoint E_Long_Brick hotspot
						connect face E_Long_Brick hotspot
						connect chin E_Medium_Brick hotspot
						connect leftfoot E_Medium_Brick hotspot
						connect lefthand E_Small_Brick hotspot
						connect leftleg E_Small_Brick hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect ATTACHPOINT empower hotspot
						connect attachpoint E_Long_Brick hotspot
						connect face E_Long_Brick hotspot
						connect chin E_Medium_Brick hotspot
						connect leftfoot E_Medium_Brick hotspot
						connect lefthand E_Small_Brick hotspot
						connect leftleg E_Small_Brick hotspot
					}
			   }
			   
			}
		}
		SetSelector
		{
			TechLogic none/age 3/age 4
			SetSelector
			{			
			   DamageLogic 0 1 50
			   set hotspot
			   {
					version
					{
						 visual Building G MarketAge2
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building G ConstructionMarket
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
			   }
			   
			}
			SetSelector
			{
			   DamageLogic 0 1 50
			   set hotspot
			   {
					version
					{
						 visual Building G MarketAge2
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building G ConstructionMarket
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
			   }
			   
			}
			SetSelector
			{
			   DamageLogic 0 1 50
			   set hotspot
			   {
					version
					{ 
						 visual Building G MarketAge3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building G ConstructionMarket
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
					}
			   }
			   
			}
		}
//============================  Norse  ============================
		SetSelector
		{
			TechLogic age 3/age 4
			SetSelector
			{
			   DamageLogic 0 1 50
			   set hotspot
			   {
					version
					{
						visual Building N MarketAge3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building G ConstructionMarket
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   
			}
			SetSelector
			{
			   DamageLogic 0 1 50
			   set hotspot
			   {
					version
					{ 
						visual Building N MarketAge4
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building G ConstructionMarket
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   
			}
		}
//============================  Atlantean  ============================
		SetSelector
		{
			TechLogic age 3/age 4
			SetSelector
			{
			   DamageLogic 0 1 50
			   set hotspot
			   {
					version
					{
						visual Building X Market Age2
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building G ConstructionMarket
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   
			}
			SetSelector
			{
			   DamageLogic 0 1 50
			   set hotspot
			   {
					version
					{ 
						visual Building X Market Age3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building G ConstructionMarket
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   
			}
		}
//============================  Chinese  ============================
		SetSelector
		{
			TechLogic age 3/age 4
			SetSelector
			{
			   DamageLogic 0 1 50
			   set hotspot
			   {
					version
					{
						visual Building C Market Age3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						ReplaceTexture building c roofage1/building c roofage3
						ReplaceTexture building c wallsage1/building c wallsage3
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building G ConstructionMarket
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   
			}
			SetSelector
			{
			   DamageLogic 0 1 50
			   set hotspot
			   {
					version
					{ 
						visual Building C Market Age3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						ReplaceTexture building c roofage1/building c roofage4
						ReplaceTexture building c wallsage1/building c wallsage4
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building G ConstructionMarket
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   set hotspot
			   {
					version
					{
						visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
						connect attachpoint N_Long_Brick hotspot
						connect face N_Long_Brick hotspot
						connect chin N_Medium_Brick hotspot
						connect leftfoot N_Medium_Brick hotspot
						connect lefthand N_Small_Brick hotspot
						connect leftleg N_Small_Brick hotspot
					}
			   }
			   
			}
		}
   }
}
